From 679a2b90210c5d0af271ffd382c6e18272001e0a Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Thu, 7 Apr 2011 15:06:06 +0100 Subject: [PATCH] xen: another unsigned comparison < 0 Signed-off-by: Tim Deegan Acked-by: Keir Fraser --- xen/common/unxz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/unxz.c b/xen/common/unxz.c index 97d8febf48..132168f924 100644 --- a/xen/common/unxz.c +++ b/xen/common/unxz.c @@ -216,7 +216,7 @@ STATIC int INIT unxz(unsigned char *in, unsigned int in_size, b.in_pos = 0; in_size = fill(in, XZ_IOBUF_SIZE); - if (in_size < 0) { + if ((int) in_size < 0) { /* * This isn't an optimal error code * but it probably isn't worth making -- 2.30.2